#include <iostream>
#include <algorithm>
using namespace std;

void test(){
    int a = 3;
    string name("Liu");
    [&, a](int value)->void{
        value++;
        cout << value << endl;
        // a++;
        cout << "a = " << a << endl;
        name = "Wang";
        cout << "name = " << name << endl;
    }(100);
}

int main(){ 
    test();

    return 0;
}
